package dangs.vo;

import java.util.ArrayList;
import java.util.List;

public class ProductVO {
	private String productCode;
	private String productName;
	private int productPrice;
	private String lunchingDate;
	private String productImage1;
	private String productImage2;
	private int maxSell;
	private int maxBuy;
	private String exprirationDate;
	private String salePeriod;
	private List upfile;
	private LocationVO lvo;
	
	
	public ProductVO() {
		super();
		lvo = new LocationVO();
		upfile = new ArrayList();
		
	}
	public ProductVO(String prodcutCode){
		this.productCode = prodcutCode;
	}
	public ProductVO(String productCode, String productName, int productPrice,
			String lunchingDate, String productImage1, String productImage2,
			int maxSell, int maxBuy, String exprirationDate, String salePeriod,
			LocationVO lvo) {
		super();
		this.productCode = productCode;
		this.productName = productName;
		this.productPrice = productPrice;
		this.lunchingDate = lunchingDate;
		this.productImage1 = productImage1;
		this.productImage2 = productImage2;
		this.maxSell = maxSell;
		this.maxBuy = maxBuy;
		this.exprirationDate = exprirationDate;
		this.salePeriod = salePeriod;
		this.lvo = lvo;
	}



	public List getUpfile() {
		return upfile;
	}
	public void setUpfile(List upfile) {
		this.upfile = upfile;
	}
	public String getProductCode() {
		return productCode;
	}


	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}



	public String getProductName() {
		return productName;
	}



	public void setProductName(String productName) {
		this.productName = productName;
	}



	public int getProductPrice() {
		return productPrice;
	}



	public void setProductPrice(int productPrice) {
		this.productPrice = productPrice;
	}



	public String getLunchingDate() {
		return lunchingDate;
	}



	public void setLunchingDate(String lunchingDate) {
		this.lunchingDate = lunchingDate;
	}



	public String getProductImage1() {
		return productImage1;
	}



	public void setProductImage1(String productImage1) {
		this.productImage1 = productImage1;
	}



	public String getProductImage2() {
		return productImage2;
	}



	public void setProductImage2(String productImage2) {
		this.productImage2 = productImage2;
	}



	public int getMaxSell() {
		return maxSell;
	}



	public void setMaxSell(int maxSell) {
		this.maxSell = maxSell;
	}



	public int getMaxBuy() {
		return maxBuy;
	}



	public void setMaxBuy(int maxBuy) {
		this.maxBuy = maxBuy;
	}



	public String getExprirationDate() {
		return exprirationDate;
	}



	public void setExprirationDate(String exprirationDate) {
		this.exprirationDate = exprirationDate;
	}



	public String getSalePeriod() {
		return salePeriod;
	}



	public void setSalePeriod(String salePeriod) {
		this.salePeriod = salePeriod;
	}



	public LocationVO getLvo() {
		return lvo;
	}



	public void setLvo(LocationVO lvo) {
		this.lvo = lvo;
	}
	@Override
	public String toString() {
		return "ProductVO [exprirationDate=" + exprirationDate
				+ ", lunchingDate=" + lunchingDate + ", lvo=" + lvo
				+ ", maxBuy=" + maxBuy + ", maxSell=" + maxSell
				+ ", productCode=" + productCode + ", productImage1="
				+ productImage1 + ", productImage2=" + productImage2
				+ ", productName=" + productName + ", productPrice="
				+ productPrice + ", salePeriod=" + salePeriod + ", upfile="
				+ upfile + "]";
	}






	
	
}
